package com.oracle.rentcar.service;

import com.github.pagehelper.PageInfo;
import com.oracle.rentcar.pojo.Emp;

import java.util.Map;

public interface EmpService {

    PageInfo<Map<String, Object>> selectEmpByParam(int currentPageNumber, String param);

    Map<String,Object> login(Emp emp);

    int deleteById(Integer id);

    int batchDeleteByIds(Integer[] empids);

    Emp selectById(int id);

    int updateEmpById(Emp emp);
}
